package clientes;

import java.util.HashMap;
import java.util.Map;

import org.joda.time.DateTime;

public abstract class CtaCte {



	public abstract Double saldoActual();
	
	private Cliente responsable;
	private Map<DateTime, Double> detalle;

	public CtaCte(Cliente clienteResponsable) {

		this.responsable = clienteResponsable;
		this.detalle = new HashMap<DateTime, Double>();
	}

	public Cliente clienteResponsable() {

		return this.responsable;
	}

	public Map<DateTime, Double> detalleDeConsumos() {

		return this.detalle;
	}
	
	
	public abstract void debitar(Double unMonto) throws ElSaldoDeLaCtaCteEsInsuficienteExeption;

	
	
}
